package com.dfy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("spot_details")
public class SpotDetail {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @TableField("spot_id")
    private Long spotId;
    
    private String description;  // 详细描述
    
    private String notice;  // 注意事项
    
    @TableField("traffic_info")
    private String trafficInfo;  // 交通信息
    
    @TableField("category_description")
    private String categoryDescription;  // 分类描述
    
    @TableField("created_at")
    private LocalDateTime createdAt;
    
    @TableField("updated_at")
    private LocalDateTime updatedAt;
} 